 |
API Documentation
|
|
|
59 void addFilter (
const std::string_view& label,
const std::string_view& extension) ;
74 void setFilter (
unsigned int index,
const std::string_view& label,
const std::string_view& extension) ;
bool getFollowSelfDir() const
std::string _extension
The extensions filtered by the filter.
Definition: FileExplorer.h:24
void setCurrentDir(const std::string_view &path)
std::string _label
The label shown for the filter in the interface.
Definition: FileExplorer.h:23
virtual void exportIntrospection(nkExport::Node *rootNode) override
virtual std::string openDialog(bool forSave)=0
Used to filter files in the interface.
Definition: FileExplorer.h:19
Base class for any graphical component.
Definition: Component.h:12
FileFilter & getFilter(unsigned int index)
A graphical file explorer.
Definition: FileExplorer.h:12
A node in the tree structure representing the data to export / import.
Definition: Node.h:42
void addFilter(const std::string_view &label, const std::string_view &extension)
virtual void importClassFromTree(nkExport::Node *rootNode) override
void setFilter(unsigned int index, const std::string_view &label, const std::string_view &extension)
const char * getCurrentDir() const
void setFollowSelfDir(bool value)
Encompasses all API of component NilkinsWinUi.
Definition: Button.h:7
FileFilter(const FileFilter &other)